﻿<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="format-detection" content="telephone=no">

		<link rel="stylesheet" href="/css/global.css" media="all">
		<link rel="stylesheet" href="/plugins/layui/css/layui.css" media="all" />
		<link rel="stylesheet" href="/plugins/font-awesome/css/font-awesome.min.css">
		<link rel="stylesheet" href="/css/main.css" />
		<script type="text/javascript" src="/plugins/layui/layui.js"></script>
		<style>
			h1{color: #009688;margin-bottom: 6px;}
			.text-center{text-align: center;padding-right:10px;}
			.divall{width: 100%;padding: 25px;margin: 0;}
			.main-card{padding: 10px;border: none;}
			.layui-bg-gray{border-radius: 6px;}
			.notice{background:#d2fedd;}
            .layui-collapse{margin: 10px 0 8px 0;}
		</style>
	</head>
	<body>
 	<div class="layui-container layui-fluid divall">
 		<div class="layui-row">
<!-- 			<div class="layui-col-md12 layui-col-lg12">
 				<div class="layui-row text-center">
 					<div class="layui-col-md4 layui-col-lg4">
 						<div class="layui-card main-card">
 							<div class="layui-card-body layui-bg-gray">
 								<h1>660</h1>
 								<p>当日注册用户数</p>
 							</div>
 						</div>
 					</div>
 					<div class="layui-col-md4 layui-col-lg4">
 						<div class="layui-card main-card">
 							<div class="layui-card-body layui-bg-gray">
 								<h1>660</h1>
 								<p>当日激活设备数</p>
 							</div>
 						</div>
 					</div>
 					<div class="layui-col-md4 layui-col-lg4">
 						<div class="layui-card main-card">
 							<div class="layui-card-body layui-bg-gray">
 								<h1>660</h1>
 								<p>WT持有用户数</p>
 							</div>
 						</div>
 					</div>
 				</div>
 				<div class="layui-row" style="padding: 10px;">
 					<div class="layui-row" style="margin: 15px 0 25px 0;">
 						<div class="layui-col-md4 layui-col-lg4">
 							<span style="font-size: 16px;"><b>每日WT详情列表</b></span>
 						</div>
 						<div class="layui-col-md8 layui-col-lg8" style="text-align: right;">
 							<div class="layui-inline">
 								<div class="layui-inline">
 									<div class="layui-input-inline">
 										<input id="startTime" class="layui-input" name="startTime" placeholder="开始日">
 									</div>
 									<div class="layui-input-inline">
 										&nbsp;-&nbsp;
 									</div>
 									<div class="layui-input-inline">
 										<input id="endTime" class="layui-input" name="endTime" placeholder="结束日">
 									</div>
 								</div>
 							</div>
 						</div>
 					</div>
 					<div class="layui-row">
 						<table class="layui-hide" id="wtable" lay-filter="tableFilter"></table>
 					</div>
 				</div>
 			</div>-->
 <!--			<div class="layui-col-md2 layui-col-lg2">
 				<#if nolist?? >
 					<#list nolist as item>
                         <div class="layui-collapse" lay-accordion>
                             <div class="layui-colla-item">
                                 <h2 class="layui-colla-title notice">${item.title!}</h2>
                                 <div class="layui-colla-content notice">${item.content!}</div>
                             </div>
                         </div>
 					</#list>
 				</#if>
 			</div> -->
 		</div>
 	</div>
 	<script>
         layui.use(['element','jquery','table','laydate','util'], function(){
             var element = layui.element,$ = layui.jquery,laydate = layui.laydate,
                 table = layui.table,util = layui.util;
 			pageInit();
 			function pageInit() {
 				table.render({
                     elem:"#wtable",
                     url:"",///manage/
                     method:"post",
                     cols:[[
                         {field:' ', title: '日期',sort: true,align:'center',
                             templet: function(d){
                                 if(d.createTime!=null){
                                     return util.toDateString(d.createTime, 'yyyy-MM-dd HH:mm:ss');
                                 }else{
                                     return "";
                                 }
                             }
                         },
                         {field:' ', title: '发放时挖力池总数',align:'center'},
                         {field:' ', title: '当日可获得挖力上限',align:'center'},
                         {field:' ', title: '发放时币通挖力池总数',align:'center'},
                         {field:' ', title: '当日币通可获得挖力上限',align:'center'},
                         {field:' ', title: '当日实际获得总挖力',align:'center'},
                         {field:' ', title: '当日币通实际获得挖力',align:'center'},
                         {field:' ', title: '获取总WT',align:'center'},
                         {field:' ', title: '币通获取WT',align:'center'},
                         {field:' ', title: '排名',align:'center',sort: true},
                         {field:' ', title: '发放时间',sort: true,align:'center',
                             templet: function(d){
                                 if(d.timingTime!=null){
                                     return util.toDateString(d.timing_time, 'yyyy-MM-dd HH:mm:ss');
                                 }else{
                                     return "";
                                 }
                             }
                         }
                     ]],
                     limits:[10,15,20,25,30],
                     limit:10,
                     page:true
 				});
             }
            
             //时间选择器
             var start = {
                 max: '2099-06-16 23:59:59',
                 format: 'yyyy-MM-dd HH:mm:ss',
                 type: 'datetime',
                 value: new Date(),
                 show: true
                 ,done: function(value){
                     end.min = value; //开始日选好后，重置结束日的最小日期
                     end.start = value //将结束日的初始值设定为开始日
                     $('#startTime').focus();
                 }
             };
             var end = {
                 max: '2099-06-16 23:59:59',
                 format: 'yyyy-MM-dd HH:mm:ss',
                 type: 'datetime',
                 value: new Date(),
                 show: true
                 ,done: function(value){
                     start.max = value; //结束日选好后，重置开始日的最大日期
                     $('#endTime').focus();
                 }
             };
             $('#startTime').bind('click',function (){
                 start.elem = this;
                 start.closeStop = this
                 laydate.render(start);
             });
             $('#endTime').bind('click',function (){
                 end.elem = this;
                 end.closeStop = this
                 laydate.render(end);
             });

             //表格重载
             var active = {
                 reload: function () {
                     var startTime = $('#startTime');
                     var endTime = $('#endTime');
                     table.reload('reportTable', {
                         where: {
                             startTime:startTime.val(),
                             endTime:endTime.val()
                         }
                     });
                 }
             };

             //将搜索框的值随请求传到后台
             $('.layui-input').on('keydown', function () {
                 var type = $(this).data('type');
                 active[type] ? active[type].call(this) : '';
             });

             $(".layui-input").keydown(function (e) {
                 if(e.keyCode == 13){
                     pageInit();
                 }
             });
         });
 	</script>
		<!--<div class="admin-main">
			<blockquote class="layui-elem-quote">
				<p>本模板基于LayUI实现 ,支持所有LayUI组件.</p>
				LayUI文档地址：
				http://www.layui.com/doc
				<p>项目地址：
					http://git.oschina.net/besteasyteam/beginner_admin
				</p>
				<p>建议反馈和问题收集地址:
					http://fly.zhengjinfan.cn/
				</p>
				<p>交流群：248049395</p>
				<br/>
				<p style="color: #01AAED;">子窗体弹出对话框编辑表单的一些建议：如果是处理表单的，建议在子窗口弹出。把背景设置为无，如果只是提示信息，可以在父窗口弹出。</p>
			</blockquote>
			<fieldset class="layui-elem-field">
				<legend>更新日志</legend>
				<div class="layui-field-box">
                    <fieldset class="layui-elem-field layui-field-title">
                        <legend>版本号:# 0.2.2 2017-04-01</legend>
                        <div class="layui-field-box">
                            <p>1、tab组件，添加onSwitch事件，切换时发生，回调参数data.id ,data,index,data.elem 详情见index.js示例(21行代码)</p>
                            <p>2、tab组件，添加getCurrentTabId方法，用于获取当前焦点的tabId</p>
                            <p>3、tab组件，添加deleteTab,删除指定tab ，参数为tabId. 示例：parent.tab.deleteTab(parent.tab.getCurrentTabId());</p>
                        </div>
                    </fieldset>
                    <fieldset class="layui-elem-field layui-field-title">
                        <legend>版本号:# 0.2.1 2017-03-30</legend>
                        <div class="layui-field-box">
                            <p>1、paging组件，添加renderBefore方法</p>
                            <p>2、paging组件，修改数据结构：code(number)改成rel(boolean)</p>
                            <p>3、btable组件，添加openWait属性[是否显示加载等待框]</p>
                            <p>4、btable组件，添加onSuccess回调方法[数据加载成功之后触发]</p>
                            <p>5、btable组件，添加isSelected方法[获取当前是否有选中行]</p>
                            <p>6、btable组件，columns属性添加format属性，用于格式化显示</p>
                            <p>7、btable组件，添加序号列</p>
                            <p>8、修复若干已知bug.</p>
                        </div>
                    </fieldset>
					<fieldset class="layui-elem-field layui-field-title">
						<legend>版本号:# 0.1.9 2017-03-06</legend>
						<div class="layui-field-box">
							<p>1、修复table组件一些样式问题。</p>			
							<p>详情请查看：<span style="color: #01AAED;">基本元素->表格</span></p>
						</div>
					</fieldset>
					<fieldset class="layui-elem-field layui-field-title">
						<legend>版本号:# 0.1.8 2017-03-05</legend>
						<div class="layui-field-box">
							<p>1、添加table组件。</p>							
							<p>2、paging组件添加elemType属性。</p>
							<p>详情请查看：<span style="color: #01AAED;">基本元素->表格</span></p>
						</div>
					</fieldset>
					<fieldset class="layui-elem-field layui-field-title">
						<legend>版本号:# 0.1.7 2017-03-02</legend>
						<div class="layui-field-box">
							<p>1、更新table.html的实现，基于paging组件。</p>
							<p>详情请查看：<span style="color: #01AAED;">基本元素->表格</span></p>
						</div>
					</fieldset>
					<fieldset class="layui-elem-field layui-field-title">
						<legend>版本号:# 0.1.6 2017-03-02</legend>
						<div class="layui-field-box">
							<p>1、修复<a href="layout.html" target="_blank">layout.html</a>显示不正常的一些bug</p>
						</div>
					</fieldset>
					<fieldset class="layui-elem-field layui-field-title">
						<legend>版本号:# 0.1.5 2017-03-02</legend>
						<div class="layui-field-box">
							<p>1、修复tab选项卡向上移动的bug</p>
							<p>2、layui 更新到1.0.9_rls</p>	
							<p>3、新增子窗口提交表单并刷新当前窗口的demo,详见 <span style="color: #01AAED;">基本元素->表格->添加信息(按钮)</span></p>									
							<p>layui1.0.9_rls更新日志</p>
						</div>
					</fieldset>
					<fieldset class="layui-elem-field layui-field-title">
						<legend>版本号:# 0.1.4 2017-02-23</legend>
						<div class="layui-field-box">
							<p>1、修复若干个bug</p>
							<p>2、添加在子页面打开选项卡的demo,详见 &#45;&#45; 其他 -> 子窗体中打开选项卡</p>
							<p>3、layui 更新到1.0.8</p>
							<p>4、最后添加了你们期待已久的tab选项卡右键菜单。需要设置contextMenu为true</p>							
							<p>...</p>
							<p>好啦啦~~~本次更新的内容就是这些，有疑问可以在群里面提出哦~~~~~</p>
						</div>
					</fieldset>
					<fieldset class="layui-elem-field layui-field-title">
						<legend>版本号:# 0.0.9 2016-12-22</legend>
						<div class="layui-field-box">
							<p>1、添加锁屏界面，按Alt+L组合键也能触发哦 ~~~~</p>
						</div>
					</fieldset>
					<fieldset class="layui-elem-field layui-field-title">
						<legend>版本号:# 0.0.8 2016-12-21</legend>
						<div class="layui-field-box">
							<p>1、navbar组件 添加属性 <cite style="color: #1AA094;">spreadOne </cite>"设置是否只展开一个二级菜单，默认为false"</p>
						</div>
					</fieldset>
					<fieldset class="layui-elem-field layui-field-title">
						<legend>版本号:# 0.0.8 2016-12-05</legend>
						<div class="layui-field-box">
							<p>1、对navbar组件添加缓存支持</p>
							<p>2、更新navbar组件说明文档</p>
						</div>
					</fieldset>
					<fieldset class="layui-elem-field layui-field-title">
						<legend>版本号:# 0.0.8 2016-12-02</legend>
						<div class="layui-field-box">
							<p>1、layui版本更新到1.0.7</p>
							<p>2、添加layout三级菜单布局页面
								<a href="#layout.html" style="color: #1AA094;" target="_blank">点击这里查看演示</a>
							</p>
						</div>
					</fieldset>
					<fieldset class="layui-elem-field layui-field-title">
						<legend>版本号:# 0.0.7 2016-11-29</legend>
						<div class="layui-field-box">
							<p>1、layui版本更新到1.0.6</p>
							<p>2、添加常用的正则</p>
						</div>
					</fieldset>
					<fieldset class="layui-elem-field layui-field-title">
						<legend>版本号:# 0.0.6 2016-11-27</legend>
						<div class="layui-field-box">
							<p>1、添加tab组件</p>
							<p>2、使用tab组件优化tab选项卡的代码</p>
							<p>3、将index.html页面的js代码独立出来</p>
						</div>
					</fieldset>
					<fieldset class="layui-elem-field layui-field-title">
						<legend>版本号:# 0.0.5 2016-11-26</legend>
						<div class="layui-field-box">
							<p>1、添加隐藏左侧导航栏功能</p>
							<p>2、修改tab选项卡样式</p>
							<p>3、添加左侧nav导航栏选中状态</p>
						</div>
					</fieldset>
					<fieldset class="layui-elem-field layui-field-title">
						<legend>版本号:# 0.0.4 2016-11-25</legend>
						<div class="layui-field-box">
							<p>1、添加Navbar组件（动态渲染nav）</p>
							<p>2、更新首页nav的渲染方式 (使用Navbar组件动态渲染)</p>
						</div>
					</fieldset>
					<fieldset class="layui-elem-field layui-field-title">
						<legend>版本号:# 0.0.3 2016-11-22</legend>
						<div class="layui-field-box">
							<p>1、table 添加单选，全选功能</p>
							<p>&nbsp;&nbsp;&nbsp;&nbsp;1.1、依赖组件iCheck 文档地址：
								http://www.bootcss.com/p/icheck/
							</p>
							<p>2、添加登录页面</p>
							<p>&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;</p>
							<p>3、top样式修改</p>
							<p>4、修复直接选中checkbox时背景色没变化，感谢
								@瀮月的反馈</p>
						</div>
					</fieldset>
					<fieldset class="layui-elem-field layui-field-title">
						<legend>版本号:# 0.0.1 2016-11-20</legend>
						<div class="layui-field-box">
							<p>1、基本布局 tab + iframe</p>
							<p>2、动态添加，删除tab</p>
							<p>3、表格样式</p>
							<p>4、分页组件</p>
						</div>
					</fieldset>
				</div>
			</fieldset>
		</div>-->
	</body>

</html>